/*
 * flashPacketStructs.h
 *
 * Created: 7/13/2013 3:17:55 PM
 *  Author: Tim
 */ 


#ifndef FLASHPACKETSTRUCTS_H_
#define FLASHPACKETSTRUCTS_H_

typedef struct flashAdcInfo_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	struct flashAdcInfo_parameterByte1
	{
		uint8_t ACHN		:2;
		uint8_t RESERVED	:6;
	}PARAM1;

	struct flashAdcInfo_parameterByte2
	{
		uint8_t SPDAH;
	}PARAM2;

	struct flashAdcInfo_parameterByte3
	{
		uint8_t SPDAL;
	}PARAM3;
	
	uint16_t checkSum;
	
}flashAdcInfo_t;

typedef struct flashAdcData_msg{
	
	uint8_t Header;
	uint8_t msgHeader;
	
	uint16_t data[128];
	
	uint16_t checkSum;
	
}flashAdcData_t;

#endif /* FLASHPACKETSTRUCTS_H_ */